<template>
  <div id="he-plugin-simple"></div>
</template>

<script>
export default {
   name:'weather',
   mounted(){
        window.WIDGET= {
            "CONFIG": {
                "layout": "1",
                "width": "450",
                "height": "150",
                "background": "1",
                "dataColor": "FFFFFF",
                "key": "e1ad08c53a544888b66bc2b0e355e513"
            },
        };
        let script = document.createElement("script");
        script.type="text/javascript";
        script.src="https://widget.qweather.net/standard/static/js/he-standard-common.js?v=2.0";
        document.getElementsByTagName("head")[0].appendChild(script);
   }

}
</script>

<style>

</style>